<style>
    .tree-control .tree-input {
        min-height: 34px!important;
        padding-top: 5px;
    }
    
    .tree-control .tree-view .item-container:hover,
    .tree-control .tree-view .selected,
    .tree-control .tree-view .active {
        background-color: #428bca;
        background-image: linear-gradient(#428bca, #428bca)!important;
        background: #428bca;
        color: #fff;
    }
    
    .tree-control .tree-view .item-container:hover .expand,
    .tree-control .tree-view .selected .expand,
    .tree-control .tree-view .active .expand {
        border-left: 10px solid #fff;
    }
    
    .tree-control .tree-view .item-container:hover .expand-opened,
    .tree-control .tree-view .selected .expand-opened,
    .tree-control .tree-view .active .expand-opened {
        border-bottom: 0px solid transparent;
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 10px solid #fff;
    }
</style>
<div ng-controller="CustomformCtrl">
    <!--{{title}}-->
    <form ng-submit="vm.submit(vm.model,'sm')">
        <formly-form model="vm.model" fields="vm.fields" options="vm.options" form="vm.form" ng-if="vm.fields.length">
            <div></div>
            <div class="col-xs-12 margin-top-30 margin-bottom-30">
                <button type="submit" ladda="ldloading.sm" ng-keyup="keyup($event)" class="col-md-offset-10 btn btn-primary ladda-button" translate="form.button.submit">back</button>
                <!--  <button type="button" ladda="ldloading.sm" class="margin-left-5 btn btn-default ladda-button" ng-click="vm.options.resetModel()" translate="form.button.RESET">Reset</button> -->
            </div>
        </formly-form>
    </form>
</div>